package com.zhanjixun.springcloud.userweb.service.impl;

import com.zhanjixun.springcloud.userweb.query.UserQuery;
import com.zhanjixun.springcloud.userweb.service.UserService;
import org.springframework.stereotype.Component;

/**
 * @author :zhanjixun
 * @date : 2019/8/27 20:22
 */
@Component
public class UserServiceImpl implements UserService {

    @Override
    public boolean add(UserQuery userQuery) {
        return false;
    }

    @Override
    public UserQuery queryUserByAccountAndPassword(UserQuery userQuery) {
        UserQuery userQuery1 = new UserQuery();
        userQuery1.setAccount("默认用户");
        userQuery1.setAccount("-1");
        return userQuery1;
    }

}
